package enumtest;

/**
 * Created by User on 2017/12/26.
 */
public enum BinaryEnum {
    feature1,feature2,feature3;

    BinaryEnum() {
        mask = 1 << ordinal();
    }

    final int mask;

    public int getMask() {
        return mask;
    }

}
